<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>3</title>
</head>
<body>
<script>
    //随机产生月份，输出对应的季节，并输出至少两个描述该季节的成语和活动
    var month = Math.floor(Math.random() * 12 + 1);
    if (month >= 3 && month <= 5) {
        console.log(month + "月是春季")
        console.log("春意盎然,春风拂面")
        console.log("踏青,放风筝")
    } else if (month >= 6 && month <= 8) {
        console.log(month + "月是夏季")
        console.log("夏日炎炎,热气腾腾")
        console.log("吃冰棍,避暑")
    } else if (month >= 9 && month <= 11) {
        console.log(month + "月是秋季")
        console.log("秋高气爽,秋风瑟瑟")
        console.log("落叶,丰收")
    } else {
        console.log(month + "月是冬季")
        console.log("寒冬凛冽,银装素裹")
        console.log("吃火锅,打雪仗")
    }
</script>
</body>
</html>